﻿using MassTransit;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ApiMasstransitSample.Application.IntegrationEventHandlers
{
    public class UserCreatedEventHandler
        : IConsumer<UserCreatedEvent>
    {
        public Task Consume(ConsumeContext<UserCreatedEvent> context)
        {
            var msg = context.Message;
            return Task.CompletedTask;
        }
    }
}
